package com.yunxi.service.dubboService.impl.sto;

import com.yunxi.service.localService.sto.StoStorageMonitorService;
import com.yunxi.sto.pojo.StoStorageMonitorDetailVO;
import com.yunxi.sto.service.StoStorageMonitorDubboService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import java.util.List;

/**
 * <p>
 * 库容监控 服务实现类
 * </p>
 *
 * @author caoYong
 * @since 2019-05-22
 */
public class StoStorageMonitorDubboServiceImpl implements StoStorageMonitorDubboService {

    @Autowired
    @Qualifier(value = "stoStorageMonitorServiceImpl")
    StoStorageMonitorService stoStorageMonitorService;


    @Override
    public List list() {
        return stoStorageMonitorService.list();
    }

    @Override
    public StoStorageMonitorDetailVO detail(String storageCode) {
        return stoStorageMonitorService.detail(storageCode);
    }
}
